<?php
echo "
<div id='footer'>
";
if(0)
{
    $rss_url = get_bloginfo('rss2_url');
    $comments_rss_url = get_bloginfo('comments_rss2_url');
    $name = get_bloginfo('name');
    $home_link = "<a href='" . get_bloginfo("url") . "'>"
                . get_bloginfo("name") . "</a>";

    echo "
        <div style='float: left;'>
            <p>
                <a href='{$rss_url}'>Entries (RSS)</a>
                and <a href='{$comments_rss_url}'>Comments (RSS)</a>
            </p>
        </div>
";
}
echo "
        <div style='float: right; margin-right: 1em;'>
            <p>Produced by Netville. Powered by <a href='http://wordpress.org/'>WordPress.org</a>.
            <!-- It is recommended that you leave this link.
            Links such as these are Wordpress' main form of advertising. -->
            </p>
        </div>
</div><!-- end #footer -->
";
    
    if ( defined('SAVEQUERIES') && SAVEQUERIES && current_user_can('level_10'))
    {
        global $wpdb;
        echo "<pre>";
        print_r($wpdb->queries);
        echo "</pre>";
    }

echo "<div class='page_name'>footer.php</div>";
echo "
</div><!-- end #container -->
";

echo "
</body></html>
";
